#-------------------------------------------------
#
# Project created by QtCreator 2024-06-02T08:56:01
#
#-------------------------------------------------

QT       += core gui multimedia multimediawidgets

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = OMO240107
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

CONFIG += c++11

SOURCES += \
        main.cpp \
        widget.cpp \
    myitem.cpp \
    myview.cpp \
    view/setwidget.cpp \
    model/singletonbd.cpp \
    model/configuremodel.cpp\
    view/loginwidget.cpp \
    sliderscreen.cpp \
    model/usermodel.cpp \
    view/mainwidget.cpp \
    code/decodevideo.cpp \
    code/encodevideo.cpp \
    code/playcodevideo.cpp \
    view/playbackwidget.cpp \
    view/photowidget.cpp \
    model/imagemodel.cpp \
    view/trancewidget.cpp \
    model/videomodel.cpp \
    view/recordwidget.cpp \
    code/trancevideo.cpp \
    model/logmodel.cpp \
    view/logwidget.cpp



HEADERS += \
        widget.h \
    myitem.h \
    myview.h \
    view/setwidget.h \
    model/singletonbd.h \
    model/configuremodel.h \
    view/loginwidget.h \
    sliderscreen.h \
    model/usermodel.h \
    view/mainwidget.h \
    code/decodevideo.h \
    code/encodevideo.h \
    code/playcodevideo.h \
    view/playbackwidget.h \
    view/photowidget.h \
    model/imagemodel.h \
    view/trancewidget.h \
    model/videomodel.h \
    view/recordwidget.h \
    code/trancevideo.h \
    model/logmodel.h \
    view/logwidget.h


# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target



#exe生成的路径
DESTDIR = bin
#配置sqlite3
LIBS += $$PWD/lib/sqlite3.lib
# 引用头文件
INCLUDEPATH += $$PWD/ffmpeglib/include
#LIBS+= $$PWD/lib/sqlite3.lib
LIBS += $$PWD/ffmpeglib/lib/avcodec.lib  \
        $$PWD/ffmpeglib/lib/avdevice.lib  \
        $$PWD/ffmpeglib/lib/avfilter.lib  \
        $$PWD/ffmpeglib/lib/avformat.lib  \
        $$PWD/ffmpeglib/lib/avutil.lib  \
        $$PWD/ffmpeglib/lib/swresample.lib  \
        $$PWD/ffmpeglib/lib/swscale.lib

RESOURCES += \
    resource.qrc
